Frequent Pattern Growth
Frequent Pattern Growth (FP-Growth) in Association Analysis
FP-Growth is an advanced and efficient algorithm for frequent itemset mining, commonly used in association rule learning. It addresses the performance limitations of the Apriori algorithm by avoiding costly candidate generation and repeated database scans.
What is FP-Growth?FP-Growth stands for Frequent Pattern Growth. It finds frequent itemsets directly from the database using a special structure called an FP-tree (Frequent Pattern Tree).
How FP-Growth Works (in 2 Main Steps):| Feature | Apriori | FP-Growth |
|---|---|---|
| Approach | Generate-and-test (candidates) | Divide-and-conquer (FP-tree) |
| Memory usage | High (due to candidates) | Lower (compact tree structure) |
| Speed | Slower for large datasets | Faster and more scalable |
| DB Scans | Multiple | Usually 2 |